<link href="../addons/jy_mteamfee/resource/css/style.css" rel="stylesheet">
<style type="text/css">
	.icon1 {
		width: .8rem; height: .8rem;
		vertical-align: -0.15em;
		fill: currentColor;
		overflow: hidden;
	}
</style>

<div class="fui-page fui-page-current page-commission-index ">
	<div class="fui-header">
		<div class="fui-header-left">
			<a class="back" ng-click='goback()'></a>
		</div>
		<div class="title">{{pagedata.setting.agent_center}}</div>
		<div class="fui-header-right"></div>
	</div>
    <div class='fui-content'>
	<div class="headinfo">
	    <div class="userinfo" style="height: auto;width:100%">
			<div class='fui-list'>
				<div class='fui-list-media'><img ng-src="{{tomedia(pagedata.member.avatar)}}" /></div>
				<div class='fui-list-info'>
					<div class='title'>{{pagedata.member.nickname}} （{{pagedata.team.levelname || '预选团长'}}）</div>
					<div class='subtitle'>
						{{pagedata.member.mobile || '无手机'}}
						<i class='icon icon-phone' style='font-size:8px;'></i>
					</div>
					<div class='text'>
						上级：{{pagedata.shangji.nickname || '总平台'}}
					</div>
				</div>
			</div>
		
	    </div>
	</div>
	<div style="padding: 0 0.5rem">
	<div class="fui-cell-group">
			<div class="fui-cell"style="height: 2.85rem;">
				<div class="fui-cell-icon">
					<i class="icon jinyunicon icon-qrcode"></i>
				</div>
				<div class="fui-cell-text">我的邀请码：{{pagedata.member.mid}}
				</div>
			</div>
		</div>
		<div class="userblock">
			<div class="line total new">
				<div class="num">{{pagedata.data.balance_total || '0.00'}}</div>
				<div class="title">{{pagedata.setting.balance_total}}(元)</div>
			</div>
			<div class="line usable new">

				<div class="text">
					<div class="num">{{pagedata.data.commission_1  || '0.00'}}</div>
					<div class="title">{{pagedata.setting.commission_1 || 0.00}}(元)</div>
				</div>		
				<a ng-if="pagedata.data.commission_1 > 0" ng-click="access_json('/commission/')" class="btn btn-warning external" ><span style="line-height: 1">{{pagedata.setting.balance_button}}</span></a>
			</div>
		</div>
		<div class="fui-block-group col-2" style='overflow: hidden;'>
            <a class="fui-block-child new  external" href="javascript:;" ng-click="access_json('/commission/main')">
                <div class="icon " style="color: #ff4357;"><i class="icon jinyunicon icon-caifua"></i></div>
                <div class="text new">
					<div class="title">{{pagedata.setting.commission_total}}</div>
                    <div class=""><span>{{pagedata.data.commission_total || 0.00}}</span> 元</div>
				</div>
            </a>
			<a class="fui-block-child new external" href="javascript:;" ng-click="access_json('/order//type=0')">
                <div class="icon" style="color: #ff4357;"><i class="icon jinyunicon icon-caifua"></i></div>
				<div class="text new">
					<div class="title">{{pagedata.setting.zhi_total ||'直推佣金'}}(明细)</div>
					<div class=""><span>{{pagedata.data.zhi_money || 0.00}}</span> 元</div>
				</div>
            </a>
			<a class="fui-block-child new external" href="javascript:;" ng-click="access_json('/order//type=1')">
                <div class="icon" style="color: #ff4357;"><i class="icon jinyunicon icon-caifua"></i></div>
				<div class="text new">
					<div class="title">{{pagedata.setting.ji_total ||'极差分红'}}(明细)</div>
					<div class=""><span>{{pagedata.data.ji_money || 0.00}}</span> 元</div>
				</div>
            </a>
			<a class="fui-block-child new external" href="javascript:;" ng-click="access_json('/order//type=2')">
                <div class="icon" style="color: #ff4357;"><i class="icon jinyunicon icon-caifua"></i></div>
				<div class="text new">
					<div class="title">{{pagedata.setting.ping_total ||'平级分红'}}(明细)</div>
					<div class=""><span>{{pagedata.data.ping_money || 0.00}}</span> 元</div>
				</div>
            </a>
			<a ng-if="pagedata.pluginset.dailifee_open==1" class="fui-block-child new external" href="javascript:;" ng-click="access_json('/order//type=5')">
                <div class="icon" style="color: #ff4357;"><i class="icon jinyunicon icon-caifua"></i></div>
				<div class="text new">
					<div class="title">{{pagedata.setting.daili_total ||'代理奖金'}}(明细)</div>
					<div class=""><span>{{pagedata.data.daili_money || 0.00}}</span> 元</div>
				</div>
            </a>
			<a ng-if="pagedata.pluginset.pingfee_open==1" class="fui-block-child new external" href="javascript:;" ng-click="access_json('/order//type=6')">
                <div class="icon" style="color: #ff4357;"><i class="icon jinyunicon icon-caifua"></i></div>
				<div class="text new">
					<div class="title">{{pagedata.setting.pingfee_total ||'平级奖金'}}(明细)</div>
					<div class=""><span>{{pagedata.data.pingfee_money || 0.00}}</span> 元</div>
				</div>
            </a>
			<a ng-if="pagedata.pluginset.jindou_open==1" class="fui-block-child new external" href="javascript:;" ng-click="access_json('core/member.credit_log//type=3')">
                <div class="icon" style="color: #ff4357;"><i class="icon jinyunicon icon-caifua"></i></div>
				<div class="text new">
					<div class="title">金豆奖励(明细)</div>
					<div class=""><span>{{pagedata.data.jindou_money || 0.00}}</span> 元</div>
				</div>
            </a>
            <a class="fui-block-child new external" href="javascript:;" ng-click="access_json('/order/main')">
                <div class="icon" style="color: #9ec9f4;"><i class="icon jinyunicon icon-dingdan"></i></div>
				<div class="text new">
					<div class="title">{{pagedata.setting.agent_order ||'分润笔试'}}</div>
					<div class=""><span>{{pagedata.team.order_num || 0}}</span> 笔</div>
				</div>
            </a>
            <a class="fui-block-child new  external" href="javascript:;" ng-click="access_json('/down/main')">
                <div class="icon" style="color: #ffbe2e;"><i class="icon jinyunicon icon-wodeqianbao"></i></div>
				<div class="text new">
					<div class="title">{{pagedata.setting.agent_tagent ||'我的团队队员'}}</div>
					<div class=""><span>{{pagedata.data.agent_num || 0}}</span> 人（直推:{{pagedata.data.area_num || 0}}人）</div>
				</div>
            </a>
	</div>
		<div class="fui-cell-group">
			<a href="javascript:;" ng-click="access_json('jy_mteamfee/qrcode/main')" class="fui-cell">
				<div class="fui-cell-icon ">
					<i class="icon jinyunicon icon-erweima text-yellow"></i>
				</div>
				<div class="fui-cell-text">推广二维码</div>
				<div class="fui-cell-remark" style="font-size: 0.5rem;"></div>
			</a>
		</div>
		</div>
</div>

</div>
<div ng-include="sys_html('_footer')"></div>